package com.yulinlin.admin.modules.ad.domain.enums;


import com.yulinlin.common.domain.enums.SuperEnum;

public class AdRuleEnums {


    public enum CycleType implements SuperEnum<String> {
        empty("空"),
        day("天小时",0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23),
        week("周天",0,1,2,3,4,5,6)
        ;

        private String label;

        private Object[] data;

        CycleType(String label,Object... data) {
            this.label = label;
            this.data = data;
        }

        @Override
        public String getLabel() {
            return label;
        }

        @Override
        public String getValue() {
            return this.name();
        }

        @Override
        public Object[] getData() {
            return data;
        }
    }


}
